package com.moguhoutai.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.moguhoutai.model.Customer;
@MapperScan
public interface CustomerMapper {
	long findCount();
	
    int deleteByPrimaryKey(Integer customerId);

    int insert(Customer customer);

    List<Customer> findAll();
    
    Customer findByName(String name);
    
    int insertSelective(Customer customer);
    
    Customer selectByPrimaryKey(Integer customerId);

    int updateByPrimaryKeySelective(Customer customer);

    int updateByPrimaryKey(Customer customer);
}